package com.ewanghuiju.app.ui.my.activity;

import android.view.View;
import android.widget.RelativeLayout;
import android.widget.Toast;

import com.bigkoo.pickerview.builder.TimePickerBuilder;
import com.bigkoo.pickerview.listener.OnTimeSelectListener;
import com.bigkoo.pickerview.view.TimePickerView;
import com.ewanghuiju.app.R;
import com.ewanghuiju.app.base.SimpleActivity;
import com.ewanghuiju.app.util.nodoubleclick.AntiShake;
import com.gyf.immersionbar.ImmersionBar;

import java.util.Date;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * @author sj  qq:751943509
 * @class 隐私设置页面
 * @time 2020/2/24
 */
public class PrivateSettingActivity extends SimpleActivity {

    @BindView(R.id.toolbar)
    RelativeLayout toolbar;

    @Override
    protected int getLayout() {
        return R.layout.activity_private_setting;
    }

    @Override
    protected void initEventAndData() {
    }

    @OnClick({R.id.iv_back})
    public void doClick(View view) {
        if (AntiShake.check(view.getId())) {    //判断是否多次点击
            return;
        }
        switch (view.getId()) {
            case R.id.iv_back:
                finish();
                break;
            default:
                break;
        }
    }

    @Override
    protected void initImmersionBar() {
        super.initImmersionBar();
        ImmersionBar.with(this)
                .titleBar(toolbar, true)
                .statusBarDarkFont(true)
                .init();
    }
}
